package com.jdd.dao.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author ls
 * @since 2022-09-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class THouse implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 楼层id
     */
    private String floorId;

    /**
     * 房间号
     */
    private String houseName;

    private String hostName;

    @TableField(value = "host_id",updateStrategy = FieldStrategy.IGNORED)
    private String hostId;
    /**
     * 创建人
     */
    private String createUser;

    /**
     * 更改人
     */
    private String updateUser;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    @TableField(exist = false)
    private String name;

    /**
     * 更改时间
     */
    private LocalDateTime updateTime;
    private String locateName;
    private String parentCode;
    private Integer code;
    private String sysProjectCode;
    private String projectId;
}
